package org.rxc.gift.dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
@NotNull
public class TenantRegisterDTO {

    @NotBlank(message = "租户名称不能为空")
    private String companyName;
    @NotNull(message = "租户电话不能为空")
    private String companyNum;
    @NotBlank(message = "租户地址不能为空")
    private String address;
    @NotNull(message = "请选择套餐")
    private Long mealId;
    private Double longitude;
    private Double latitude;
    private String logo;
    //注册店铺时填写的管理员信息
    @NotNull
    private TenantAdminDTO admin;
}

